package net.ericaro.neojavagen.blocks ;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;

import net.ericaro.neojavagen.blocks.StatementExpression;
import net.ericaro.neojavagen.blocks.ForUpdate;
import net.ericaro.neojavagen.blocks.ForInit ;

import net.ericaro.neojavagen.StringUtils;
		
/**
* <pre> StatementExpressions :  StatementExpression , StatementExpression , ...  
*/
public class StatementExpressions extends ArrayList<StatementExpression> implements ForUpdate,ForInit {
	
	public StatementExpressions(){
		super();
	}
	
	public StatementExpressions(StatementExpression ... components){
		this(Arrays.asList(components) );
	}
	public StatementExpressions(Collection<StatementExpression> values ){
		super(values);
	}
	
	
	public String toString(){
		return StringUtils.toString(this, ",", "", "");
	}

}
